@import url("./scss/iconfont.css");
.calendar {
  position: relative;
}
.calendar_input {
  border: 1px solid #c0c4cc;
  padding: 0 30px;
  height: 40px;
  line-height: 40px;
  border-radius: 4px;
  outline: none;/* 去除边框外的轮廓 */
}
.calendar_input:focus {
  border: 1px solid #409eff;
}
.input_prefix {
  height: 100%;
  width: 25px;
  text-align: center;
  position: absolute;
  left: 5px;
  top: 0;
  color: #c0c4cc;
}
.input_prefix i {
  line-height: 40px;
}
.calendar_box {
  position: absolute;
  top: 50px;
  width: 400px;/* 暂时使用固定宽度和高度，后面会去除宽度和高度进行内容自适应现实 */
  height: 300px;
  border: 1px solid #e4e7ed;
  box-shadow: 0 2px 12px 0 rgba(0,0,0,.1);
  border-radius: 4px;
}
.calendar_box .triangle {
  position: absolute;
  width: 0;
  height: 0;
  top: -14px;
  left: 25px;
  border: 7px solid transparent;
  border-bottom: 7px solid white;
}
.calendar_box::before {
  position: absolute;
  content: "";
  width: 0;
  height: 0;
  top: -16px;
  left: 24px;
  border: 8px solid transparent;
  border-bottom: 8px solid #e4e7ed;
}

.calendar_header {
  display: flex;
  justify-content: space-around;
  height: 30px;
  line-height: 30px;
  font-size: 14px;
  font-weight: 100;
}
.header_time {
  box-sizing: border-box;
  width: 50%;
  padding: 0 25px;
  height: 30px;
  line-height: 30px;
  color: #606266;
  font-size: 16px;
  font-weight: 500;
  display: flex;
  justify-content: space-between;
}
.calendar_content .cell {
  display: inline-flex;
  width: 41px;
  height: 41px;
  justify-content: center;
  align-items: center;
}

.notCurrentMonth {
  color: grey;
}
.today {
  background: red;
  color: white;
  border-radius: 4px;
}

.select {
  border:  1px solid pink;
  box-sizing: border-box;
  border-radius: 4px;
}

.calendar_footer {
  height: 30px;
  line-height: 30px;
  padding: 5px 0;
  border: 1px solid #e4e7ed;
  border-radius: 4px;
  text-align: center;
  cursor: pointer;
}